body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.el-container {
    height: 100vh;
}

.el-header,
.el-aside {
    background-color: #344a5f;
    color: white;
}

.el-header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.el-header h1 {
    margin: 0 auto;
}

.el-aside {
    width: 200px;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.el-aside.collapsed {
    width: 64px;
}

.el-main {
    background-color: white;
    padding: 20px;
}

.el-footer {
    background-color: #e9ecef;
    text-align: center;
    padding: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
    cursor: pointer;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
}

.sidebar-header img {
    width: 60px;
    height: 60px;
}

.el-menu {
    flex: 1;
    border-right: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.role {
    margin-right: 10px;
}

.username {
    margin-right: 10px;
    cursor: pointer;
}

.search-area {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    width: 200px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.button-area {
    margin-bottom: 20px;
}

.separator {
    margin: 0 10px;
    color: white;
}



/*文件上传按钮样式*/
/* 新增外层容器样式 */
.inline-file-group {
    display: flex;
    align-items: center;
    gap: 15px; /* 控制标签与按钮间距 */
}

/* 修改原有.file-input样式 */
.file-input {
    margin: 0; /* 去除原有上下margin */
}

/* 保持原有按钮样式不变 */
.file-input label {
    /* 原有样式保持不变 */
    display: inline-block;
    padding: 1px 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-input label:hover {
    background-color: #45a049;
}

/* 新增图标间距 */
.file-input i {
    margin-right: 6px;
}

/* 修改后的样式 */
.file-input input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}



/*借书对话框*/
.container {
    padding: 32px 40px 24px 40px;
    background: #f7f8fa;
    /*min-height: 100vh;*/
}
.row-card {
    display: flex;
    align-items: center;
    padding: 16px 28px 10px;
    background: #fff;
    border-radius: 8px;
}
.row-shadow {
    border: 1.5px solid #dcdfe6;
}
.label {
    color: #606266;
    font-size: 15px;
    margin-right: 6px;
    min-width: 80px;
    display: inline-block;
}
.input-main {
    width: 100px;
    margin-right: 12px;
}
.search-btn {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
    margin-left: 8px;
}
.reader-info {
    background: #f0f9eb;
    color: #67c23a;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 14px;
    font-family: 'PingFang SC', Arial, sans-serif;
}
.input-copies {
    width: 320px;
    margin-left: 6px;
}
.hint {
    color: #909399;
    font-size: 13px;
    margin-left: 18px;
    align-self: center;
}
.borrow-table {
    background: #fafafa;
    border-radius: 8px;
    --el-table-border-color: #dcdfe6;
}
.th-style {
    background: #eef6fe !important;
    color: #606266 !important;
    font-size: 15px;
}
.footer-btns {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}


/*手机校验码页面*/
.form-card {
    max-width: 400px;
    margin: 40px auto;
    padding: 24px;
}